package com.acme.bankapp.domine.account;

import com.acme.bankapp.exceptions.NoEnoughFundsException;

public interface Account {

    void deposit(double amount);

    void withdraw(final double amount) throws NoEnoughFundsException;

    void setBalance(final double balance) throws IllegalArgumentException;

    double getBalance();

    String getType();

    void setType(final String type);

    double maximumAmountToWithdraw();

    int getId();
}
